package com.buer.train.business.service;

import com.buer.train.business.domain.DictDO;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

/**
 * 字典表
 * @date 2021-04-07 14:47:42
 */
public interface DictService {
	
	DictDO get(Integer id);
	
	List<DictDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(DictDO dict);
	
	int update(DictDO dict);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    PageInfo<DictDO> getDictList(Map<String, Object> map);

    DictDO getOne(Map<String, Object> map);
}
